﻿@using Microsoft.AspNet.Identity
@if(Session["UserName"]!=null)
{
   
    using (Html.BeginForm("LogOff", "AccountAdmin", FormMethod.Post))
    {
@Html.AntiForgeryToken()

<ul class="nav navbar-nav navbar-right">
    <li>
        @*@Html.ActionLink("Hello " + Session["UserName"],"#"))*@
      @*<a>Hello @Session["UserName"]</a>*@
        @Html.ActionLink("Hello " + @Session["UserName"], "Edit", new { id = Session["ID"] })
       
    </li>
    <li>@Html.ActionLink("Log off","LogOff","AccountAdmin")</li>
</ul>
    }
}


